package com.dldata.devtools30.entity;

import jakarta.persistence.*;

import java.util.Objects;

@Entity
@Table(name = "devt_api_tjopt")
public class DevtApiTjoptEntity {
    private String id;
    private String argname;
    private String bz;
    private String cslx;
    private Integer isrequeried;
    private Integer lx;
    private String subid;
    private String tjsql;
    private Integer xh;
    
    @Id
    @Column(name = "id", nullable = false, length = 64)
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Basic
    @Column(name = "argname", nullable = true, length = 512)
    public String getArgname() {
        return argname;
    }
    
    public void setArgname(String argname) {
        this.argname = argname;
    }
    
    @Basic
    @Column(name = "bz", nullable = true, length = 2147483647)
    public String getBz() {
        return bz;
    }
    
    public void setBz(String bz) {
        this.bz = bz;
    }
    
    @Basic
    @Column(name = "cslx", nullable = true, length = 64)
    public String getCslx() {
        return cslx;
    }
    
    public void setCslx(String cslx) {
        this.cslx = cslx;
    }
    
    @Basic
    @Column(name = "isrequeried", nullable = true)
    public Integer getIsrequeried() {
        return isrequeried;
    }
    
    public void setIsrequeried(Integer isrequeried) {
        this.isrequeried = isrequeried;
    }
    
    @Basic
    @Column(name = "lx", nullable = true)
    public Integer getLx() {
        return lx;
    }
    
    public void setLx(Integer lx) {
        this.lx = lx;
    }
    
    @Basic
    @Column(name = "subid", nullable = true, length = 50)
    public String getSubid() {
        return subid;
    }
    
    public void setSubid(String subid) {
        this.subid = subid;
    }
    
    @Basic
    @Column(name = "tjsql", nullable = true, length = 2147483647)
    public String getTjsql() {
        return tjsql;
    }
    
    public void setTjsql(String tjsql) {
        this.tjsql = tjsql;
    }
    
    @Basic
    @Column(name = "xh", nullable = true)
    public Integer getXh() {
        return xh;
    }
    
    public void setXh(Integer xh) {
        this.xh = xh;
    }
    
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DevtApiTjoptEntity that = (DevtApiTjoptEntity) o;
        return Objects.equals(id, that.id) && Objects.equals(argname, that.argname) && Objects.equals(bz, that.bz) && Objects.equals(cslx, that.cslx) && Objects.equals(isrequeried, that.isrequeried) && Objects.equals(lx, that.lx) && Objects.equals(subid, that.subid) && Objects.equals(tjsql, that.tjsql) && Objects.equals(xh, that.xh);
    }
    
    @Override
    public int hashCode() {
        return Objects.hash(id, argname, bz, cslx, isrequeried, lx, subid, tjsql, xh);
    }
}
